<?php

class m130918_105122_add_column_type_table_campaign extends CDbMigration{
	public function up(){
		return	$this->addColumn('ham_campaign','type', 'VARCHAR(50) NOT NULL');
	}

	public function down()
	{
		return $this->dropColumn('ham_campaign', 'type');
	}

	/*
	// Use safeUp/safeDown to do migration with transaction
	public function safeUp()
	{
	}

	public function safeDown()
	{
	}
	*/
}